<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"  xml:lang="en" lang="en">
<head>

  <%=stylesheet_link_tag "http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.2/themes/cupertino/jquery-ui.css" %>
  <%=stylesheet_link_tag "jquery.autocomplete.css" %>
  <%=stylesheet_link_tag 'jquery-ui-1.8.2.custom.css' %>
</head>
<body>
 <%= yield %>
</body>
</html>
<!-- include javascripts -->
<%=javascript_include_tag("http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js") %>
<%=javascript_include_tag("http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.2/jquery-ui.min.js") %>
<%=javascript_include_tag("jrails.js") %>
<%=javascript_include_tag("jquery.autocomplete.js") %>
<!--//include javascripts //-->
<!-- jquery and other functions-->
<%javascript_tag do %>
$(document).ready(function() {
    <%= yield :js_ready %>
});
<%end %>
<!-- //jquery and other functions //-->
<%= yield :rails_helpers %>